package com.cn.crmsystem.service.businessService;

import com.cn.crmsystem.pojo.Product;
import com.cn.crmsystem.pojo.ResultJson;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface ProductService {
    ResultJson selectProductAll(Map map);

    ResultJson selectByIdProduct(Integer id);

    ResultJson addProduct(Product product);

    ResultJson updateByIdProduct(Integer id);

    ResultJson deleteByIdProduct(Integer id);
}
